package com.yq.cns.ui.main.fragment.news

import com.yq.cns.entity.ChannelEntity

/**
 * 界面 状态 及数据
 */
sealed class NewsFragmentState {
    object Loading : NewsFragmentState()
    class Fail(val msg: String?) : NewsFragmentState()
    class OnSuccess(val data: List<ChannelEntity>) : NewsFragmentState()
}